<%@ page contentType="text/html; charset=utf-8" language="java"  errorPage="" %>
<%@page import="com.zhufei.entity.UserInfo"%>
<%@page import="com.zhufei.dao.ZhuFeiUserInfoDao"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>深圳市橄榄树助飞基金-个人空间</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />

</head>
<body>
<%
	String username = request.getParameter("username");
	if(username==null)
	{
		out.print("<script language='javascript'>alert('用户名不能为空');</script>");
		response.sendRedirect("index.jsp");
	}
	UserInfo userInfo = ZhuFeiUserInfoDao.getZhuFeiUserInfo(username);
	
	
 %>
<div class="head">
	<div class="top">
		<div class="logo"><img src="images/logo.jpg" /></div>
		<div class="topmenu">
			<a href="#">关于我们</a> |
			<a href="#">加入收藏</a> |
			<a href="#">设为首页</a>
		</div>
	</div>
	<div class="menu">
	
		<div class="main">
			<ul>
				<li><a href="index.jsp">首页</a></li>
				<li><a href="aboutus.jsp">关于我们</a></li>
				<li><a href="fengcaiServlet">残友风彩</a></li>
				<li><a href="#">论坛</a></li>
				<li><a href="lovesInfo.jsp">爱心企业与个人</a></li>
				<li class="bgnone"><a href="registration.jsp">我要参与</a></li>
			</ul>
		</div>
	
	</div>
	
	<div class="banner">
		<img src="images/banner.jpg" />
	</div>
</div>

<div class="aboutus">
	<div class="p140" >
    <h2 align="center"><%=userInfo.getReal_name() %>的个人主页</h2>
    </div>
 <form action="userServlet?action=add" method="post"  enctype="multipart/form-data" onsubmit="return Juge(this)"  >
	<div class="reg01">
		<div class="fl"><span class="redfont">.</span> 姓名   ：<%=userInfo.getReal_name() %>
      </div>
		
		<div class="fl"><span class="redfont">.</span> QQ  ： <%=userInfo.getQq()%>
	  </div>
	  
	  <div class="fl"><span class="redfont">.</span> 邮箱：<%=userInfo.getMail() %> </div>
	    <div class="fl"><span class="redfont">.</span> 座右铭： <br/>
	    <%=userInfo.getMotto()%>
	   </div> 
	   <div class="fl"><span class="redfont">.</span> 个人简介：<br/>
	   	  <%=userInfo.getProfile()%>
	  </div> 
	  <div class="fl"><span class="redfont">.</span> 个人风采头像：
	    	<img class="Image" src="<%=userInfo.getAvatar_route()  %>" />
	  </div>
	</div>
    </form>
    </div>
</div>

<div class="footer">
	深圳市橄榄树助飞基金<br>
	地址：深圳市罗湖区宝安南路3097号洪涛大厦四楼<br>
	电话：0755-25595903、25590786 传真：25595900<br>
	Copyright &copy; 2011 www.glszhufei.com , All Rights Reserved.
</div>
</body>
</html>